package test.y2019.october;

import cn.hutool.core.date.DateTime;
import cn.hutool.core.date.DateUtil;
import cn.hutool.core.lang.Console;

import java.sql.Timestamp;
import java.util.Date;

/**
 * Created By  醉美柳舞之众星捧月
 *
 * @author song
 * @date 2019/10/19 17:08
 */
public class October6 {
    public static void main(String[] args) {
        String la = "12312312312313";
        String lm = "sdgdhrthefathrwe";
        Console.error(la + "\r\n" + lm);

        final Timestamp timestamp = new Timestamp(System.currentTimeMillis());
        Console.error(timestamp);

        DateTime newDate2 = DateUtil.offsetDay(new Date(), 3);
        DateTime newDate3 = DateUtil.offsetHour(new Date(), 72);
        Console.error(newDate2);
        Console.error(newDate3);
    }
}
